import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 粗纱用料*/
// 创建
export const productionProductUseCommunicationCreate = (data) => postRequest('/production/product-use-communication/create', data);

// 更新
export const productionProductUseCommunicationUpdate = (data) => putRequest('/production/product-use-communication/update', data);

// 删除
export const productionProductUseCommunicationDelete = (params) => deleteRequest('/production/product-use-communication/delete', params);

// 获得
export const productionProductUseCommunicationGet = (params) => getRequest('/production/product-use-communication/get', params);

// 分页
export const productionProductUseCommunicationPage = (params) => getRequest('/production/product-use-communication/page', params);

// 导出 Excel
export const productionProductUseCommunicationExportExcel = (params) => getRequest('/production/product-use-communication/export-excel', params);
export const productionProductUseCommunicationUpdateAuditState = (data) => postRequest('/production/product-use-communication/update-audit-state', data);
